﻿using System;
using System.Collections.Generic;
using System.Text;

namespace XendApp
{
    public class Result
    {
        private bool m_success;
        /// <summary>
        /// Returns true if previous operation succeded
        /// </summary>
        public bool Success
        {
            get { return m_success; }
            set { m_success = value; }
        }

        private string m_errormessage;
        /// <summary>
        /// If Success is false then this contains the error message
        /// </summary>
        public string ErrorMessage
        {
            get { return m_errormessage; }
            set { m_errormessage = value; }
        }
    }
}
